﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Configuration;

namespace TwKarma.Web.Service
{
    [WebService(Namespace = "http://tempuri.org/")]
    public class Process : System.Web.Services.WebService
    {
        [WebMethod]
        public string UpdateKarma()
        {
            SqliteORM.DbConnection.Initialise(ConfigurationManager.AppSettings["ConnectionString"]);

            return TwKarma.Logic.Process.Karma.Votes();
        }
    }
}
